//
//  NSString+OFUtilEncode.h
//  Qianbao
//
//  Created by liyan1 on 13-11-8.
//  Copyright (c) 2013年 qianwang365. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (OFUtilEncode)
- (NSString *)MD5EncodedString;
- (NSData *)HMACSHA1EncodedDataWithKey:(NSString *)key;
- (NSString *)base64EncodedString;
- (NSString *)URLEncodedString;
- (NSString *)URLEncodedStringWithCFStringEncoding:(CFStringEncoding)encoding;
- (NSString *)URLDecodedString;

+ (NSString *)GUIDString;
- (int)weiboTextLength;
@end
